package com.whj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whj.domain.dto.CategoryDTO;
import com.whj.domain.entity.Category;
import com.whj.domain.response.ResponseResult;
import com.whj.domain.vo.CategoryVO;

import java.util.List;


/**
 * 分类表(Category)表服务接口
 *
 * @author wanghaijun
 * @since 2023-05-23 08:54:20
 */
public interface CategoryService extends IService<Category> {

    ResponseResult<CategoryVO> getCategoryList();

    List<CategoryVO> listAllCategory();

    ResponseResult selectCategoryByPage(Integer pageNum, Integer pageSize, String name, String status);

    ResponseResult addCategory(CategoryVO categoryVO);

    ResponseResult selecCategoryById(Long id);

    ResponseResult updateCategory(CategoryDTO categoryDTO);

    ResponseResult deleteCategory(List<String> id);
}
